package com.esisa.beans;

public class Main {
	
	public Main() {
		exp01();
	}
	
	void exp01(){
		Etudiant d1=new Etudiant();
		d1.setChemin("c:/fich1.txt");
		Etudiant d2=new Etudiant();
		d2.setChemin("c:/fich2.txt");
		Etudiant d3=new Etudiant();
		d3.setChemin("c:/nadir.txt");
		
		ListeSCORM ld=new ListeSCORM();
		ld.insert(d1);
		ld.insert(d2);
		ld.insert(d3);
		//ld.save("resources/doc.txt");
		
		
		ListeSCORM l2=new ListeSCORM();
		l2.load("resources/doc.txt");
		l2.print();
	}
	
	public static void main(String[] args) {
		new Main();
	}

}
